package com.zmc.product.infrastructure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmc.common.utils.PageUtils;
import com.zmc.product.infrastructure.entity.CommodityGoodsDetailPictureEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品详情内容中的图片
 *
 * @author zmc
 * @email 
 * @date 2024-10-14 18:43:35
 */
public interface CommodityGoodsDetailPictureService extends IService<CommodityGoodsDetailPictureEntity> {

    List<CommodityGoodsDetailPictureEntity> getPicturesBySpuId(String spuId);

    /**
     * picture1：商品详情图
     * picture2：图文介绍
     * 格式：‘，’拼接
     * */
    void savePictures(String picture1, String picture2, String spuId);

    void removeBySpuId(String spuId);
}

